//
//  ZXMessageViewController.m
//  ZXOCWeiBo
//
//  Created by mac on 15/11/28.
//  Copyright © 2015年 itcast. All rights reserved.
//

#import "ZXMessageViewController.h"

#import "ZXTooController.h"

@interface ZXMessageViewController ()

@end

@implementation ZXMessageViewController

- (void)viewDidLoad {
    [super viewDidLoad];
     self.navigationItem.rightBarButtonItem = [UIBarButtonItem barBtnItemWithTitl:@"发起聊天" target:self action:@selector(chatting)];
 self.title = @"消息";
    
}

/**
 *  导航栏发起聊天按钮的回调方法
 */
-(void)chatting
{
    ZXTooController * two = [[ZXTooController alloc]init];
    
    [self.navigationController pushViewController:two animated:YES];
}

@end
